<ion-view view-title="企业信息推送">

    <div class="bar bar-subheader padding-0">
        <!--企业信息推送-->
        <div class="row font-large-my text-center">
            <div class="col borderRight_my" ng-class="{'assertive':status==1}" on-tap="init_data(1)">申请中</div>
            <div class="col borderRight_my" ng-class="{'assertive':status==2}" on-tap="init_data(2)">已通过</div>
            <div class="col borderRight_my" ng-class="{'assertive':status==3}" on-tap="init_data(3)">被拒绝</div>
            <div class="col" on-tap="onshow_pushinfo_apply()">申请</div>
        </div>
    </div>
    
    
    <ion-content class="has-subheader">
        <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <div class="list list-borderless" ng-repeat="msg in info">
            <li class="item item-text-wrap padding">
            	<p>{{msg.title}}</p>
                <p class="font-middle-my">推送方式：{{msg.method}}</p>
                <p class="margin-top-10-my font-middle-my">
                    <span on-tap="onshow_pushinfo_apply(msg.id)" ng-if="status!=2"><i class="icon ion-compose positive"></i>编辑</span>
                    <span on-tap="del(msg.id,$index)"><i class="icon ion-ios-close-outline assertive" ng-class="{'margin-left-10-my':status!=2}"></i>删除</span>
                </p>
            </li>
        </div>
        
        <div class="font-large-my font-gray-my text-center padding" ng-if="info.length==0||info==null">
            <i class="icon ion-sad-outline font-1rem-my"></i> 对不起，目前暂无推送信息...
        </div>
        
        <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
    </ion-content>
</ion-view>